package com.quickcancellation.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.quickcancellation.crm.mapper.StoreMapper;
import com.quickcancellation.crm.pojo.dto.PageDto;
import com.quickcancellation.crm.pojo.entity.Store;
import com.quickcancellation.crm.service.IStoreService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2023-02-28
 */
@Service
public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store> implements IStoreService {

    @Resource
    private StoreMapper storeMapper;

    @Override
    public List<Map> getStoreList(PageDto<Map> params) {

        return storeMapper.getStoreList(params);
    }
}
